package com.zb.sannuo.account.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zb.sannuo.account.dao.AccountPasswordMapper;
import com.zb.sannuo.account.service.AccountPasswordService;
import com.zb.sannuo.common.domain.SccUserLogin;
import com.zb.sannuo.common.domain.vo.UserLogin;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AccountPasswordServiceImpl extends ServiceImpl<AccountPasswordMapper, UserLogin> implements AccountPasswordService {

    @Resource
    private AccountPasswordMapper accountPasswordMapper;


    @Override
    public int updatePassword(UserLogin userLogin) {
        return accountPasswordMapper.updatePassword(userLogin);
    }
}
